home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Source Code / Visual Basic Source Code.iso / vbsource / findfi_1 / form2.frm (.txt) < prev    next >
Encoding:
Visual Basic Form  |  1998-08-22  |  2.6 KB  |  93 lines

  1. VERSION 5.00
  2. Begin VB.Form Form2 
  3.    BorderStyle     =   1  'Fixed Single
  4.    Caption         =   "Z Axis"
  5.    ClientHeight    =   2160
  6.    ClientLeft      =   45
  7.    ClientTop       =   330
  8.    ClientWidth     =   1350
  9.    Icon            =   "Form2.frx":0000
  10.    LinkTopic       =   "Form2"
  11.    MaxButton       =   0   'False
  12.    MinButton       =   0   'False
  13.    Picture         =   "Form2.frx":08CA
  14.    ScaleHeight     =   2160
  15.    ScaleWidth      =   1350
  16.    StartUpPosition =   2  'CenterScreen
  17.    Begin VB.CommandButton Command1 
  18.       Caption         =   "Start"
  19.       Height          =   375
  20.       Left            =   0
  21.       TabIndex        =   0
  22.       Top             =   1800
  23.       Width           =   1335
  24.    End
  25.    Begin VB.Timer Timer1 
  26.       Enabled         =   0   'False
  27.       Interval        =   100
  28.       Left            =   0
  29.       Top             =   240
  30.    End
  31.    Begin VB.Timer Timer2 
  32.       Enabled         =   0   'False
  33.       Interval        =   100
  34.       Left            =   480
  35.       Top             =   240
  36.    End
  37.    Begin VB.CommandButton Command2 
  38.       Caption         =   "Return"
  39.       Height          =   375
  40.       Left            =   0
  41.       TabIndex        =   1
  42.       Top             =   1800
  43.       Width           =   1335
  44.    End
  45.    Begin VB.Label Label1 
  46.       BackStyle       =   0  'Transparent
  47.       Caption         =   "C"
  48.       BeginProperty Font 
  49.          Name            =   "Tahoma"
  50.          Size            =   72
  51.          Charset         =   0
  52.          Weight          =   700
  53.          Underline       =   0   'False
  54.          Italic          =   0   'False
  55.          Strikethrough   =   0   'False
  56.       EndProperty
  57.       ForeColor       =   &H00808080&
  58.       Height          =   1575
  59.       Left            =   0
  60.       TabIndex        =   2
  61.       Top             =   0
  62.       Width           =   1215
  63.    End
  64. Attribute VB_Name = "Form2"
  65. Attribute VB_GlobalNameSpace = False
  66. Attribute VB_Creatable = False
  67. Attribute VB_PredeclaredId = True
  68. Attribute VB_Exposed = False
  69. Dim C3D As Integer
  70. Private Sub Timer1_Timer()
  71. C3D = C3D - 1
  72. Label1.FontSize = C3D
  73. If C3D = 1 Then Command1.Visible = False
  74. If C3D = 1 Then Command2.Visible = True
  75. If C3D = 1 Then Timer1.Enabled = False
  76. End Sub
  77. Private Sub Timer2_Timer()
  78. C3D = C3D + 1
  79. Label1.FontSize = C3D
  80. If C3D = 72 Then Command2.Visible = False
  81. If C3D = 72 Then Command1.Visible = True
  82. If C3D = 72 Then Timer2.Enabled = False
  83. End Sub
  84. Private Sub Command1_Click()
  85. Timer1.Enabled = True
  86. End Sub
  87. Private Sub Command2_Click()
  88. Timer2.Enabled = True
  89. End Sub
  90. Private Sub Form_Load()
  91. C3D = 72
  92. End Sub
  93.